from django.db import models

HAIR_COLOUR_CHOICES = (
    ("B", "Blonde")
    , ("L", "Black")
)
EYESS_COLOUR_CHOICES = (
    ("B", "Blue")
    , ("R", "Broun")
)

class Girl(models.Model):
    status_id       = models.IntegerField()
    name            = models.CharField(max_length=200)
    rating          = models.IntegerField()
    price_h         = models.DecimalField(max_digits=10, decimal_places=2)
    hair_colour     = models.CharField(max_length = 32, choices = HAIR_COLOUR_CHOICES)
    eyes_colour     = models.CharField(max_length = 32, choices = EYESS_COLOUR_CHOICES)
    height          = models.DecimalField(max_digits=5, decimal_places=2)
    weight          = models.DecimalField(max_digits=5, decimal_places=2)
    breast_waist_hips = models.CharField(max_length = 200)

    def __unicode__(self):
        return self.name

class Service(models.Model):
    girls_id        = models.CommaSeparatedIntegerField(max_length=32)
    status_id       = models.IntegerField()
    name            = models.CharField(max_length=200)
    text            = models.TextField()
    price           = models.DecimalField(max_digits=10, decimal_places=2)
    duration_m      = models.IntegerField()

    def __unicode__(self):
        return self.name
